package com.atjinggu.jinggumail.oauth.feign;

import com.atjinggu.jinggumail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author jingming
 * @Type ThirdPartFeignService.java
 * @Desc
 * @date 2021/2/23 15:25
 */
@FeignClient("jinggumail-thirdpart")
public interface ThirdPartFeignService {

    @GetMapping("/sms/sendcode")
    public R sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
